/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package za.co.pas.business.data.audit;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 *
 * @author alabuschagne
 */
@Entity
public class Address_AUDIT extends GenericAudit implements Serializable
{
    private static final long serialVersionUID = 1L;

    public Address_AUDIT()
    {
        tableName = "ADDRESS";
    }


    @Override
    public int hashCode()
    {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object object)
    {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Address_AUDIT))
        {
            return false;
        }
        Address_AUDIT other = (Address_AUDIT) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id)))
        {
            return false;
        }
        return true;
    }

    @Override
    public String toString()
    {
        return "za.co.pas.business.data.audit.Address_AUDIT[id=" + id + "]";
    }

}
